package com.example.patient.jpa;

import com.example.common.entity.Answer;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author wxy
 * @Date 2021/1/21 11:31
 * @Version 1.0
 */
public interface AnswerRepository extends JpaRepository<Answer, Long> {

    List<Answer> findByFid(Long fid);

    List<Answer> findByIdIn(List<Long> list);

}
